package com.fzu.commonutil.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author zyq
 * @since 2023-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Housekeeper implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属公司
     */
    private Integer companyId;

    private String companyName;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 身高
     */
    private Integer height;

    /**
     * 婚姻状况
     */
    private Integer maritalStatus;

    /**
     * 掌握语言
     */
    private String language;

    /**
     * 技能
     */
    private String skill;

    /**
     * 自我介绍
     */
    private String introduction;

    /**
     * 民族
     */
    private String nation;

    /**
     * 现居地省份
     */
    private String province;

    /**
     * 现居地城市
     */
    private String city;

    /**
     * 现居地县区
     */
    private String town;

    /**
     * 现居地详细地址
     */
    private String detail;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;
    /**
     * 1-空闲，2-繁忙
     */
    private Integer state;

    /**
     * 时薪/元
     */
    private Integer hourSalary;

    /**
     * 日薪/元
     */
    private Integer daySalary;

    /**
     * 月薪/元
     */
    private Integer monthSalary;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private Integer serviceTypeId;

    @TableField(exist = false)
    public List<Integer> typeIdList;
    @TableField(exist = false)
    public List<ServiceType> typeList;

    @TableField(exist = false)
    public List<String> imageUrlList;

    @TableField(exist = false)
    private Integer managerId;


}
